Class PingProcessImpl

All Implemented Interfaces:
IPCObject, PingProcess, Process

public class PingProcessImpl extends ProcessImpl implements PingProcess
Information provided by the PKI file:

    \class PingProcess
    
    \brief PingProcess handles and manipulates ping processes.
    
    \example network().getDevice("PC0").getProcess("IcmpProcess").getPingProcess(1)
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • start

      public void start()
      Information provided by the PKI file:
      
          \brief Starts the ping process.
          
              
      Specified by:
      start in interface PingProcess
    • cancel

      public void cancel()
      Information provided by the PKI file:
      
          \brief Cancels the ping process.
          
              
      Specified by:
      cancel in interface PingProcess
    • getId

      public Short getId()
      Information provided by the PKI file:
      
          \brief Returns the ping process ID.
          
          \return short, the ping process ID.
          
              
      Specified by:
      getId in interface PingProcess
      Returns:
      Short Returns a Short
    • getDestinationIP

      public IPAddress getDestinationIP()
      Information provided by the PKI file:
      
          \brief Returns the destination IP address.
          
          \return ip, the destination IP address.
          
              
      Specified by:
      getDestinationIP in interface PingProcess
      Returns:
      IPAddress Returns a IPAddress
    • getSourceIP

      public IPAddress getSourceIP()
      Information provided by the PKI file:
      
          \brief Returns the source IP address.
          
          \return ip, the source IP address.
          
              
      Specified by:
      getSourceIP in interface PingProcess
      Returns:
      IPAddress Returns a IPAddress
    • getLastIP

      public IPAddress getLastIP()
      Information provided by the PKI file:
      
          \brief Returns the last IP address in the ping process.
          
          \return ip, the last IP address in the ping process.
          
              
      Specified by:
      getLastIP in interface PingProcess
      Returns:
      IPAddress Returns a IPAddress
    • isBroadcast

      public boolean isBroadcast()
      Information provided by the PKI file:
      
          \brief Returns true if the ping process is broadcasted, otherwise false.
          
          \return bool, true if the ping process is broadcasted, otherwise false.
          
              
      Specified by:
      isBroadcast in interface PingProcess
      Returns:
      boolean Returns a boolean
    • getTotalCount

      public int getTotalCount()
      Information provided by the PKI file:
      
          \brief Returns the total number of pings.
          
          \return int, the total number of pings.
          
              
      Specified by:
      getTotalCount in interface PingProcess
      Returns:
      int Returns a int
    • getSentCount

      public int getSentCount()
      Information provided by the PKI file:
      
          \brief Returns the number of echo requests sent.
          
          \return int, the number of echo requests sent.
          
              
      Specified by:
      getSentCount in interface PingProcess
      Returns:
      int Returns a int
    • getReceivedCount

      public int getReceivedCount()
      Information provided by the PKI file:
      
          \brief Returns the number of echo replies received.
          
          \return int, the number of echo replies received.
          
              
      Specified by:
      getReceivedCount in interface PingProcess
      Returns:
      int Returns a int
    • getTimeout

      public int getTimeout()
      Information provided by the PKI file:
      
          \brief Returns the timeout value.
          
          \return int, the timeout value.
          
              
      Specified by:
      getTimeout in interface PingProcess
      Returns:
      int Returns a int
    • getMinDelay

      public int getMinDelay()
      Information provided by the PKI file:
      
          \brief Returns the minimum delay value.
          
          \return int, the minimum delay value.
          
              
      Specified by:
      getMinDelay in interface PingProcess
      Returns:
      int Returns a int
    • getMaxDelay

      public int getMaxDelay()
      Information provided by the PKI file:
      
          \brief Returns the maximum delay value.
          
          \return int, the maximum delay value.
          
              
      Specified by:
      getMaxDelay in interface PingProcess
      Returns:
      int Returns a int
    • getLastDelay

      public int getLastDelay()
      Information provided by the PKI file:
      
          \brief Returns the last delay value.
          
          \return int, the last delay value.
          
              
      Specified by:
      getLastDelay in interface PingProcess
      Returns:
      int Returns a int
    • getTotalDelay

      public int getTotalDelay()
      Information provided by the PKI file:
      
          \brief Returns the total delay value.
          
          \return int, the total delay value.
          
              
      Specified by:
      getTotalDelay in interface PingProcess
      Returns:
      int Returns a int
    • getLastTtl

      public int getLastTtl()
      Information provided by the PKI file:
      
          \brief Returns the last TTL value.
          
          \return int, the last TTL value.
          
              
      Specified by:
      getLastTtl in interface PingProcess
      Returns:
      int Returns a int